﻿<?php echo $this->render('head.phtml');?>

<div class='container_12 div_content ui-corner-all'>
  <div class='grid_2'>
    <h3 class="user-center-title">用户中心</h3>

    <?php
function get_selected_status($thisAction)
{
  //$controllerName = Zend_Controller_Front::getInstance()->getRequest()->getControllerName();
  $actionName = Zend_Controller_Front::getInstance()->getRequest()->getActionName();
  print $actionName == $thisAction ? 'div_user_selected_action' : 'div_user_action';
}
?>

  </div>
  <div class='clear'></div>
  
  <div class='grid_2'>  
    <a class='a_user_action' href='/admin/category'><div id='div_first_action' class='<?php get_selected_status("profile"); ?>'>管理课程类别</div></a>
    <a class='a_user_action' href='/admin/tags'><div id='div_first_action' class='<?php get_selected_status("profile"); ?>'>管理tag</div></a>
    <a class='a_user_action' href='/admin/create-home'><div id='div_first_action' class='<?php get_selected_status("profile"); ?>'>更新首页</div></a>
    <a class='a_user_action' href='/admin/refund-list'><div id='div_first_action' class='<?php get_selected_status("profile"); ?>'>退款请求</div></a>
    <a class='a_user_action' href='/admin/transaction-handler'><div id='div_first_action' class='<?php get_selected_status("transaction-handler"); ?>'>处理交易</div></a>

  </div>
  <div class='grid_9' id='div_action_content'>
